package ch04.d4;

public class Student {
    //属性
    String name;
    String school;

    private static int count;

    public Student(){
        count++;
    }
    //方法


    public static int getCount() {
        return count;
    }

    public static int add(int x,int y){
        return x+y;
    }

    public void m1(){
        System.out.println(name);
    }



}
